package com.cl.mypureframe.conn;

/**
 * Conn 网络接口地址常量
 * Created by Lei on 2017/1/18.
 */
public interface Conn {

    boolean ENCRYPTABLE = false;// 加密开关
    boolean OFFICIALSERVER = false;// 是否是正式服务器
    String HTTPSECRET = "param";
    String KEY = "123456781234567812345678";
    String IV = "12345678";

    // http://tongchenggzp.com/3g/uploader_lau.php, http://www.neausft.com/
    String HOST = OFFICIALSERVER ? "http://202.118.163.212:8057/" : "https://www.wanandroid.com/";
    String BASEURL = OFFICIALSERVER ? HOST + "apm/" : HOST;
    String IMGURL = HOST + "njnz/upload/";// 图片前缀
    String VIDEOURL = HOST + "njnz/upload/";// 视频前缀
    String URL_HOMELIST = "article/list/";// 58.《crm》-销售线索-线索列表[GET]
    String URL_ZZGC = "http://www.neausft.com/apm/ny/aiagApp/html/listview_guicheng.html";// 种植规程网址
    String URL_MACHIINELIST = "resource/machineList.do";// 农机数量

    String URL_VERIFY = "verification.do";// 验证码
    String URL_REG = "demandRegister.do";// 供需户注册
    String URL_LOGIN = "user/login";// 用户登录


    // code：返回码，0成功。非0为请求失败,
    int CODE_SUCCESS = 0;// 网络返回的成功码
    int CODE_ERR = -1;// 网络返回的错误码

}